package com.example.mall.domain.vo;

import com.example.mall.domain.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 功能: 用户类输出类
 * 作者: 沙琪马
 * 日期: 2024/5/21 16:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVO extends User {

    private String avatarUrl;
    // 定义token
    private String token;
}
